package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章管理对象 t_article
 * 
 * @author kellen
 * @date 2024-04-18
 */
public class TArticle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 所属前端栏目id */
    @Excel(name = "所属前端栏目id")
    private Long frontMenuId;
    private String frontMenuName;

    /** 文章标题 */
    @Excel(name = "文章标题")
    private String articleTitle;

    /**  */
    @Excel(name = "")
    private String articleDescribe;

    /** 文章展示缩略图 */
    @Excel(name = "文章展示缩略图")
    private String articleLogo;

    /** 是否显示，1-是，0-否 */
    @Excel(name = "是否显示，1-是，0-否")
    private Long isDisplay;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 文章内容 */
    @Excel(name = "文章内容")
    private String articleContent;
    @Excel(name = "浏览次数")
    private Integer viewCount;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFrontMenuId(Long frontMenuId) 
    {
        this.frontMenuId = frontMenuId;
    }

    public Long getFrontMenuId() 
    {
        return frontMenuId;
    }
    public void setArticleTitle(String articleTitle) 
    {
        this.articleTitle = articleTitle;
    }

    public String getArticleTitle() 
    {
        return articleTitle;
    }
    public void setArticleDescribe(String articleDescribe) 
    {
        this.articleDescribe = articleDescribe;
    }

    public String getArticleDescribe() 
    {
        return articleDescribe;
    }
    public void setArticleLogo(String articleLogo) 
    {
        this.articleLogo = articleLogo;
    }

    public String getArticleLogo() 
    {
        return articleLogo;
    }
    public void setIsDisplay(Long isDisplay) 
    {
        this.isDisplay = isDisplay;
    }

    public Long getIsDisplay() 
    {
        return isDisplay;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setArticleContent(String articleContent) 
    {
        this.articleContent = articleContent;
    }

    public String getArticleContent() 
    {
        return articleContent;
    }

    public String getFrontMenuName() {
        return frontMenuName;
    }

    public void setFrontMenuName(String frontMenuName) {
        this.frontMenuName = frontMenuName;
    }

    public Integer getViewCount() {
        return viewCount;
    }

    public void setViewCount(Integer viewCount) {
        this.viewCount = viewCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("frontMenuId", getFrontMenuId())
            .append("articleTitle", getArticleTitle())
            .append("articleDescribe", getArticleDescribe())
            .append("articleLogo", getArticleLogo())
            .append("isDisplay", getIsDisplay())
            .append("sort", getSort())
            .append("articleContent", getArticleContent())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("viewCount", getViewCount())
            .toString();
    }
}
